package cn.cloudtogo.common.atomapi.token;

import java.util.List;

/**
 * @author yaolianhua789@gmail.com
 **/
public interface ApiTokenService {

    ApiToken obtain(String name, List<ApiResource> apiResources);

    boolean remove(ApiToken apiToken);

    boolean authenticate(ApiTokenAuthentication authentication);
}
